/* Common styles */
* {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 12px;
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
}

body {
    padding-top: 100px;
    background-color: #f0f3f5;
}

.top-01 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #f0f3f5;
}

.top-02 {
    width: 1135px;
    margin: 0 auto;
    line-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-02 > ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.top-02 > ul > li {
    display: flex;
    align-items: center;
}

.top-02 > ul > li img {
    vertical-align: middle;
}


#head01 {
    display: inline-block;
    border-radius: 5px;
}

#img-01 img {
    width: 24px;
    height: 24px;
}

#img-01 span {
    color: #989b9e;
    font-size: 18px;
    margin-left: 5px;
    margin-right: 10px;
    line-height: 20px;
    vertical-align: -4px;
}

#img-01 span1 {
    display: inline-block;
    width: 20px;
    line-height: 20px;
    border-radius: 15px;
    color: white;
    background-color: #ff6d6d;
    text-align: center;
    vertical-align: -2px;
}

#img-01 a span:hover {
    color: #ff6d6d;
}

@media (max-width: 768px) {
    .top-02 {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-02 > ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-02 > ul > li {
        margin: 10px 0;
    }

    .search-container {
        margin-top: 20px;
        width: 100%;
    }
}

.top-02 > ul > li:nth-of-type(4) {
    margin-left: 500px;
}

/* Center section styles */
.center {
    width: 1260px;
    line-height: 50px;
    margin: 0 auto;
    background-color: white;
}

body > div {
    width: 1260px;
    margin: 0 auto;
}

body > div > div:nth-of-type(2) {
    font-size: 15px;
    margin-bottom: 10px;
}

.center div {
    margin-left: 10px;
}

.center div:nth-of-type(1) {
    display: inline-block;
    margin-top: 10px;
}

.center-01 {
    display: inline-block;
    margin-left: 1050px;
    text-align: center;
    width: 100px;
    line-height: 30px;
    border: 1px solid #ff6d6d;
    color: #ff6d6d;
}

.address > span {
    color: #cccccc;
}

.center-02 {
    width: 1260px;
    line-height: 50px;
    margin: 0 auto;
    background-color: white;
}

.center-02 > ul {
    overflow: hidden;
}

.center-02 > ul li {
    float: left;
    margin-left: 84px;
    color: #989b9e;
}

.center-02 > ul li:nth-of-type(1) {
    margin-left: 50px;
    margin-right: 600px;
}

/* Shop section styles */
.shop {
    background-color: white;
    width: 1260px;
    margin: 20px auto;
}

.shop > div:nth-of-type(1) {
    width: 100px;
    display: inline-block;
    margin-left: 50px;
    margin-top: 10px;
}

.shop > ul {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.shop > ul > li {
    margin-right: 20px;
}

.shop > ul > li img {
    margin-right: 20px;
}

.shop > ul > li:nth-of-type(1) {
    margin-right: 10px;
}

.shop > ul > li:nth-of-type(2) {
    margin-right: 10px;
}

.shop > ul > li:nth-of-type(3) {
    width: 600px;
    font-size: 14px;
}

.shop > ul > li:nth-of-type(4),
.shop > ul > li:nth-of-type(5),
.shop > ul > li:nth-of-type(6),
.shop > ul > li:nth-of-type(7) {
    text-align: center;
    vertical-align: middle;
}

.shop > ul > li:nth-of-type(4) input {
    width: 20px;
    text-align: center;
}

.shop > ul > li:nth-of-type(5) {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 56px;
    margin-right: 100px;
}

.shop > ul > li:nth-of-type(5) input[type="button"] {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    border: 1px solid #e5e5e5;
    background-color: #f0f0f0;
    cursor: pointer;
}

.shop input[name="amount"] {
    width: 40px; /* Adjust the width as needed */
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
}

.shop > ul > li:nth-of-type(7) a {
    cursor: pointer;
    color: #ff6d6d;
    margin: 5px 0 5px 70px;
}

/*选择收货地址*/
.chooseAddress {
    width: 700px;
    margin: auto;
    background-color: white;
    border-radius: 10px;
}

.chooseAddress > div:nth-of-type(1) {

    width: 700px;
    font-size: 20px;
    display: inline-block;
    margin-top: 20px;
    margin-left: 260px;

}

.chooseAddress > div:nth-of-type(1) > span {
    margin-left: 200px;
    color: #cccccc;
    font-size: 20px;
}

.chooseAddress > div:nth-of-type(2) li {
    width: 500px;
    border: 1px solid #cccccc;
    padding: 10px 0 10px 10px;
    margin: 20px auto 0;
    font-size: 20px;
}

.chooseAddress > div:nth-of-type(2) li span {
    color: #989b9e;
    font-size: 15px;
}

.addAddress {
    width: 150px;
    line-height: 40px;
    text-align: center;
    background-color: #ff6d6d;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 50px;
    margin-left: 250px;
    margin-top: 50px;
}

.addAddress > a {
    color: white;
    font-size: 15px;
}

.last {
    overflow: hidden;
}

.last > div {
    float: right;
    margin-right: 20px;
    margin-top: 20px;
}

.last > div > span:nth-of-type(1) {
    font-size: 15px;
    color: #ff6d6d;
}

.last > div > a {
    display: inline-block;
    width: 100px;
    color: white;
    background-color: #ff6d6d;
    margin-top: 10px;
    margin-left: -8px;
    line-height: 50px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* 遮罩层的样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明的黑色背景 */
    display: none; /* 默认隐藏 */
    z-index: 1000; /* 确保遮罩层在其他内容之上 */
}

.chooseAddress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff; /* 白色背景 */
    padding: 20px;
    border: 1px solid #ddd;
    z-index: 1001; /* 确保选择地址弹窗在遮罩层之上 */
    display: none; /* 默认隐藏 */
}

.chooseAddress > div > span {
    cursor: pointer; /* 鼠标指针样式，表示可以点击 */
}
